<template>
    <div>
        <button @click="get">获取请求结果</button>
    </div>
</template>

<script>
import {reqCategoryList} from "@/api"
    export default {
        home:"Test",
        methods:{
            async get(){
                let data = await reqCategoryList()
                console.log(data);
            }
        },
        mounted(){
            // console.log(this.$store.state.home);
        }
    }
</script>

<style lang="less" scoped>

</style>